student = {'小明':0,'小红':0,'小华':0,'小欣':0,'小桐':0}
count = 0
while count<5:
    name=input("请输入你想投票的名字:")
    if name == '小明':
       student['小明']+=1
    elif name == '小红':
       student['小红']+=1
    elif name == '小华':
       student['小华']+=1
    elif name == '小欣':
       student['小欣']+=1
    else:
       student['小桐']+=1
    count+=1

print(student)

max(student.values())
for ticket,value in student.items():
    if( value  == max(student.values())):
        print('恭喜%s成为班长'%ticket)